<?php
include 'su_log.php';
include '../inc/d.php';
$rows = query('hw_su','su_last_time,inet_ntoa(su_last_ip) su_last_ip',"su_account='{$_SESSION['su']}'");
?>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <title>管理员登录</title>
</head>
<body>
欢迎：<?=$_SESSION['su']?>，上次登录时间：<?=date('Y-m-d H:i:s',$rows[0]['su_last_time'])?>，上次登录IP:<?=$rows[0]['su_last_ip']?>，<a href="su_logout.php" target="_top">退出</a>
</body>
</html>